package com.teamin.web.controller;

import com.teamin.entity.Message;
import com.teamin.web.exception.GlobalErrorInfoException;
import org.springframework.messaging.handler.annotation.MessageMapping;
import org.springframework.stereotype.Controller;

import java.io.IOException;

/**
 * 用来接口回调的接口,不需要验证登录状态
 *
 * @author qfu
 * @date 2017/9/25
 *
 */
@Controller
public class WebSocketController extends  BaseController{

	@MessageMapping("/updateCircle")
	public void WxSubscript(Message e)throws GlobalErrorInfoException, IOException {
		System.out.println("--------------------------------------websocket =+++++++++++++++++++++"+e.toString());
	}
}